package fuzzylizard.teamdocs.services;

import fuzzylizard.teamdocs.domain.Document;
import fuzzylizard.teamdocs.domain.File;
import fuzzylizard.teamdocs.domain.User;

public class DocumentServiceImpl implements DocumentService {

    // TODO implement this
    public Document getDocument() {
        return null;
    }

    public Document saveDocument(File directory, User user, java.io.File file, String filename, String summary) {
        Document document = Document.make(filename);
        directory.addFile(document);
        user.addFile(document);
        return document;
    }
    
}
